<!DOCTYPE html>
<!--查询活动-->
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout" layout:decorate="~{layout/storelayout}" >
<head>
    <meta charset="UTF-8">
    <title>查询活动</title>
    <link th:href="@{/layui/css/layui.css}" rel="stylesheet" />
</head>
<body>
    <div layout:fragment="content" >

        <div class="layui-carousel" id="test1" lay-filter="test1">
            <div carousel-item="">
                <div>诚招广告位</div>
                <div>诚招广告位</div>
                <div>诚招广告位</div>
                <div>诚招广告位</div>
                <div>诚招广告位</div>
            </div>
        </div>

        <script th:src="@{/layui/layui.js}" charset="utf-8"></script>
        <script>
            layui.use(['carousel', 'form'], function() {
                var carousel = layui.carousel
                    , form = layui.form;

                //常规轮播
                carousel.render({
                    elem: '#test1'
                    , arrow: 'always'
                });

            })
        </script>

    </div>

</body>
</html>
